package com.web.exiaodao.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.AutherWorksTable;


public interface AutherWorksTableRepository extends
		PagingAndSortingRepository<AutherWorksTable, Long>,
		JpaSpecificationExecutor<AutherWorksTable> {
	public AutherWorksTable findByIdAndStatusNot(Long id,Integer status);
	//查询主要作品列表
	public List<AutherWorksTable> findByAutherIDAndStatusNot(Long autherID,Integer status);
}
